Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore packed artifacts when parsing #310

Merged
merged 4 commits into from
Sep 8, 2023

Conversation

akurtakov
Copy link
Member

Prevents issues when packed artifacts are returned by iterator but they can no longer be handled.
Fixes #308

Copy link
Contributor

@merks merks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. Thanks!

@akurtakov
Copy link
Member Author

I prefer to land this for M1 but I'm open to the idea of pushing it now if people consider it very important fix. @tjwatson wdyt?

@github-actions
Copy link

github-actions bot commented Aug 23, 2023

Test Results

       6 files  ±       0         6 suites  ±0   41m 34s ⏱️ + 14m 50s
2 059 tests  -    117  2 057 ✔️  -    115  1 💤  - 3  1 +1 
6 267 runs  +1 857  6 262 ✔️ +1 859  2 💤  - 5  3 +3 

For more details on these failures, see this check.

Results for commit 43cca01. ± Comparison against base commit 519e6b0.

This pull request removes 117 tests.
org.eclipse.equinox.p2.tests.artifact.repository.LocationTest ‑ testLocation
org.eclipse.equinox.p2.tests.importexport.ImportExportRemoteTests ‑ Unknown test
org.eclipse.equinox.p2.tests.importexport.ImportExportTests ‑ testAllowExportFeaturesInstalledFromLocal
org.eclipse.equinox.p2.tests.importexport.ImportExportTests ‑ testExportFeaturesInstalledFromLocal
org.eclipse.equinox.p2.tests.importexport.ImportExportTests ‑ testIncompatibleP2f
org.eclipse.equinox.p2.tests.importexport.ImportExportTests ‑ testLoadP2f
org.eclipse.equinox.p2.tests.importexport.ImportExportTests ‑ testLoadUnknownP2f
org.eclipse.equinox.p2.tests.ui.actions.ElementUtilsTest ‑ testElements
org.eclipse.equinox.p2.tests.ui.actions.ElementUtilsTest ‑ testEmpty
org.eclipse.equinox.p2.tests.ui.actions.ElementUtilsTest ‑ testIUs
…

♻️ This comment has been updated with latest results.

Prevents issues when packed artifacts are returned by iterator but they
can no longer be handled.
Fixes eclipse-equinox#308
That way actually returned statuses are tested.
It was useless since pack200 support was removed but didn't fail as
packed artifacts were not ignored entirely (at parsing time)
@akurtakov akurtakov merged commit 78a3fe0 into eclipse-equinox:master Sep 8, 2023
3 of 7 checks passed
@akurtakov
Copy link
Member Author

Jenkins succeeded and I didn't retrigger GH actions.

HannesWell added a commit to HannesWell/tycho that referenced this pull request Dec 6, 2023
Eclipse P2 got its support for loading pack.gz packed artifacts from
repositories finally removed in
eclipse-equinox/p2#310.

In order to fix the tests, remove packed duplicates from and replace
only packed ecf artifact with unpacked eclipse.core.runtime artifact in
test repository at '\resources\repositories\packgz'
HannesWell added a commit to HannesWell/tycho that referenced this pull request Dec 6, 2023
Eclipse P2 got its support for loading pack.gz packed artifacts from
repositories finally removed in
eclipse-equinox/p2#310.

In order to fix the tests, remove packed duplicates from and replace
only packed ecf artifact with unpacked eclipse.core.runtime artifact in
test repository at '\resources\repositories\packgz'
akurtakov pushed a commit to HannesWell/tycho that referenced this pull request Dec 7, 2023
Eclipse P2 got its support for loading pack.gz packed artifacts from
repositories finally removed in
eclipse-equinox/p2#310.

In order to fix the tests, remove packed duplicates from and replace
only packed ecf artifact with unpacked eclipse.core.runtime artifact in
test repository at '\resources\repositories\packgz'
HannesWell added a commit to HannesWell/tycho that referenced this pull request Dec 9, 2023
Eclipse P2 got its support for loading pack.gz packed artifacts from
repositories finally removed in
eclipse-equinox/p2#310.

In order to fix the tests, remove packed duplicates from and replace
only packed ecf artifact with unpacked eclipse.core.runtime artifact in
test repository at '\resources\repositories\packgz'.
HannesWell added a commit to eclipse-tycho/tycho that referenced this pull request Dec 9, 2023
Eclipse P2 got its support for loading pack.gz packed artifacts from
repositories finally removed in
eclipse-equinox/p2#310.

In order to fix the tests, remove packed duplicates from and replace
only packed ecf artifact with unpacked eclipse.core.runtime artifact in
test repository at '\resources\repositories\packgz'.
github-actions bot pushed a commit to eclipse-tycho/tycho that referenced this pull request Dec 9, 2023
Eclipse P2 got its support for loading pack.gz packed artifacts from
repositories finally removed in
eclipse-equinox/p2#310.

In order to fix the tests, remove packed duplicates from and replace
only packed ecf artifact with unpacked eclipse.core.runtime artifact in
test repository at '\resources\repositories\packgz'.

(cherry picked from commit da254b3)
HannesWell added a commit to eclipse-tycho/tycho that referenced this pull request Dec 9, 2023
Eclipse P2 got its support for loading pack.gz packed artifacts from
repositories finally removed in
eclipse-equinox/p2#310.

In order to fix the tests, remove packed duplicates from and replace
only packed ecf artifact with unpacked eclipse.core.runtime artifact in
test repository at '\resources\repositories\packgz'.

(cherry picked from commit da254b3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Could not instantiate step:org.eclipse.equinox.p2.processing.Pack200Unpacker
2 participants